<div class="media form">
<?php echo $this->Form->create('Media', array('type' => 'file'));?>
	<fieldset>
		<legend><?php echo __('Edit Article file'); ?></legend>
	<?php
                
		echo $this->Form->input('id');
                echo $this->Form->hidden('article_id');
                echo $this->Html->div('input text current-file', 
                __('<span class="lb-file-name">Current file: </span>') . $this->Html->link($this->request->data['Media']['filename'], BASE_URL . $this->request->data['Media']['dir'] . '/' . $this->request->data['Media']['filename'], array('class' => 'pdf-icon'))
                
        );
                echo $this->Form->input('filename', array('type' => 'file'));
    
	?>
	</fieldset>
<?php echo $this->Form->end(__('Update'));?>
</div>
